package com.css.devops.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * For Dynamic to invoke Devops Api
 */
@Data
@Component
@Configuration
@ConfigurationProperties(prefix = "devops.jenkins")
public class JenkinsProperties {

	/**
	 * jenkins url
	 */
	private String url;
	
	/**
	 * Jenkins 用户名
	 */
	private String username;
	/**
	 * Jenkins密码
	 */
	private String password;
}
